using System;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("LightningCtrl")]
	public class LightningCtrl : MonoBehaviour
	{
		public GameObject mylightning => method_3<GameObject>("mylightning");

		public GameObject lightningObj => method_3<GameObject>("lightningObj");

		public float lifetime => method_2<float>("lifetime");

		public float position_X => method_2<float>("position_X");

		public float position_Y => method_2<float>("position_Y");

		public float position_Z => method_2<float>("position_Z");

		public float scale => method_2<float>("scale");

		public float speed => method_2<float>("speed");

		public GameObject target => method_3<GameObject>("target");

		public GameObject destination => method_3<GameObject>("destination");

		public LightningCtrl(IntPtr address, string className)
			: base(address, className)
		{
		}

		public LightningCtrl(IntPtr address)
			: this(address, "LightningCtrl")
		{
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Update()
		{
			method_8("Update");
		}

		public void Spawn(Transform targetTransform, Transform destinationTransform)
		{
			method_8("Spawn", targetTransform, destinationTransform);
		}
	}
}
